package com.bianguo.android.compresslibrary.listener;

import com.bianguo.android.compresslibrary.bean.PhotoBean;

import java.util.ArrayList;
import java.util.List;

public interface CompressImage {

    void compress();

    interface CompressListener {

        void onCompressSuccess(ArrayList<PhotoBean> photoBeans);

        void onCompressFailed(List<Integer> errorIndexes, String errorMsg);
    }
}
